package eecs285.proj4.gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/** Will be called at each blitter page */
public class Chrono implements ActionListener {

	MarkerboardCanvas gc;
	// constructor that receives the Canvas that we will repaint every 60 milliseconds
	Chrono(MarkerboardCanvas gc) {
		this.gc = gc;
	}
	// calls the method to repaint the anim everytime I am called
	public void actionPerformed(ActionEvent e) {
		gc.myRepaint();
		//gc.computationDone = false;
	}

}

